package com.dhcc.bpm.modules.scf.vo.ScfRenewableOutInfoVO;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;


/**
 * 再生资源出库信息列表查询视图层实体类
 */
@Data
public class ScfGetRenewableOutListVO {
    /**
     * 主体主键
     */
    private String rowId;

    /**
     * 出库单号-一次货运多次入库
     */
    private String renewableOutNum;

    /**
     * 供销合同编号
     */
    private String contractNum;

    /**
     * 车牌号
     */
    private String truckNum;

    /**
     * 商品名称
     */
    private String specName;

    /**
     * 利废企业公司名称
     */
    private String recyclingName;

    /**
     * 再生资源公司名称
     */
    private String renewableName;

    /**
     * 出库日期（yyyyMMdd）
     */
    private String renewableOutDate;


    /**
     * 毛重
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal roughWeight;

    /**
     * 皮重
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal tareWeight;

    /**
     * 扣重
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal deductWeight;

    /**
     * 净重
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal netWeight;

    /**
     * 单价
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal unitPrice;

    /**
     * 折扣金额
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal discountAmount;

    /**
     * 结算金额
     */
    @JsonSerialize(using = ToStringSerializer.class, nullsUsing = NullSerializer.class)
    private BigDecimal settlementAmount;

    //    是否关联CORRELATION
    private Integer correlation;

}
